package com.admin.education.dataTransferObject.question.Request;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreateAnswerRequest {
    @NotBlank
    @Length(max=1024)
    private String answerDescription;
    @NotNull
    private  int sort;
    @Length(max=32)
    private String alias;
    private boolean rightAnswer;
}
